home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / maximus / mul100.zip / MULVAREF.DOC < prev    next >
Text File  |  1992-09-02  |  7KB  |  161 lines

  1.  
  2.                  MUL INTERPRETER INTRINSIC VARIABLES LISTING
  3.  
  4.  
  5.                 MAXIMUS USER RECORD FIELD VARIABLES AND FLAGS
  6. ----------------------------------------------------------------------
  7.     Note these the following are not a direct representation of the
  8.     Maximus 2.0x user file record structure. Several fields have been
  9.     omitted, and others are mapped to multiple virtual flags or
  10.     date/times.
  11.  
  12.     Variable Name       Type       Description
  13.     ------------------- ---------- -----------------------------------
  14.     USRname             String -   User's name - 35 char + null
  15.     USRcity             String -   User's location - 35 char + null
  16.     USRalias            String -   User's alias (handle) - 20 char + null
  17.     USRphone            String -   User's phone number - 14 char + null
  18.     USRlastreadptr      Int    -   Message area lastread offset
  19.     USRtimeremaining    Int    -   Time left for current call (xtern prog)
  20.     USRpwd              String -   Password - 15 char + null
  21.     USRcalls            Int    -   Number of previous calls to this system
  22.     USRhelp             Char   -   Help level
  23.     USRvideo            Char   -   User's video mode (see GRAPH_XXXX)
  24.     USRnulls            Char   -   Number of Nulls (delays) after <cr>
  25.     USRflaghotkeys      Flag   -   Bits: Hotkeys, independent of HOTFLASH level
  26.     USRflagnotavail     Flag   -   Bits: User is not available for chat
  27.     USRflagfsr          Flag   -   Bits: Full-screen reading in msg areas
  28.     USRflagnerd         Flag   -   Bits: Yell makes no noise on sysop console
  29.     USRflagnoulist      Flag   -   Bits: Don't display name in userlist
  30.     USRflagbadlogon     Flag   -   Bit2: If user's last logon attempt was bad
  31.     USRflagibmchars     Flag   -   Bit2: If user can receive high-bit chars
  32.     USRflagbored        Flag   -   Bit2: Use the line-oriented editor
  33.     USRflagmore         Flag   -   Bit2: Wants the "MORE?" prompt
  34.     USRflagusedmax      Flag   -   Bit2: Used Maximus before
  35.     USRflagcls          Flag   -   Bit2: Set=transmit ^L, clear=ignore ^L
  36.     USRpriv             Int    -   Access level
  37.     USRtimetoday        Int    -   Time on-line so far today
  38.     USRflagdel          Flag   -   Delflag flag: Set=deleted record
  39.     USRflagperm         Flag   -   Delflag flag: Set=permanent record
  40.     USRwidth            Char   -   Width of the caller's screen
  41.     USRlen              Char   -   Height of the caller's screen
  42.     USRcredit           Int    -   Matrix credit, in cents
  43.     USRdebit            Int    -   Current matrix debit, in cents
  44.     USRxpflag           Char   -   Flags for expiry type and method
  45.     USRxppriv           Int    -   Priv to demote to, when time or minutes run
  46.     USRxpdate           Int    -   Date of when user expires
  47.     USRxpmins           Long   -   How many minutes before expiring
  48.     USRludate           Int    -   Date of user's last call
  49.     USRlutime           Int    -   Time of user's last call
  50.     USRkeys             Long   -   User's 32 keys
  51.     USRlang             Char   -   The user's current language number
  52.     USRdefprot          Char   -   Default file-transfer protocol
  53.     USRupld             Long   -   K-bytes uploaded, all calls
  54.     USRdnld             Long   -   K-bytes downloaded, all calls
  55.     USRdnldtoday        Long   -   K-bytes downloaded, today
  56.     USRmsg              String -   User's last msg area - 9 char + null
  57.     USRfiles            String -   User's last file area - 9 char + null
  58.     USRcompress         Char   -   Default compression program to use
  59.     USRextra            Long   -   External text comment pointer
  60.  
  61.  
  62.                        MAXIMUS USER HELP MODE CONSTANTS
  63. ----------------------------------------------------------------------
  64.  
  65.     HELP_HOTFLASH  HELP_EXPERT    HELP_REGULAR   HELP_NOVICE
  66.  
  67.  
  68. ----------------------------------------------------------------------
  69.                      MAXIMUS USER VIDEO MODE CONSTANTS
  70.  
  71.     VIDEO_TTY      VIDEO_ANSI     VIDEO_AVATAR
  72.  
  73.  
  74. ----------------------------------------------------------------------
  75.                   MAXIMUS USER PRIVILEDGE LEVEL CONSTANTS
  76.  
  77.     TWIT           DISGRACE       LIMITED        NORMAL        WORTHY
  78.     PRIVIL         FAVORED        EXTRA          CLERK         ASSTSYSOP
  79.     SYSOP          HIDDEN
  80.  
  81.  
  82. ----------------------------------------------------------------------
  83.                    MAXIMUS USER EXPIRY BITMASK CONSTANTS
  84.  
  85.     XP_DATE
  86.     XP_TIME
  87.     XP_DEMOTE
  88.     XP_HANGUP
  89.     XP_NONE
  90.     XP_DATE_DEMOTE
  91.     XP_DATE_HANGUP
  92.     XP_TIME_DEMOTE
  93.     XP_TIME_HANGUP
  94.  
  95.  
  96. ----------------------------------------------------------------------
  97.                      MAXIMUS USER KEY BITMASK CONSTANTS
  98.  
  99.     KEY1           KEY2           KEY3           KEY4          KEY5
  100.     KEY6           KEY7           KEY8           KEYA          KEYB
  101.     KEYC           KEYD           KEYE           KEYF          KEYG
  102.     KEYH           KEYI           KEYJ           KEYK          KEYL
  103.     KEYM           KEYN           KEYO           KEYP          KEYQ
  104.     KEYR           KEYS           KEYT           KEYU          KEYV
  105.     KEYW           KEYX           KEYALL
  106.  
  107.  
  108. ----------------------------------------------------------------------
  109.                   MAXIMUS USER TRANSFER PROTOCOL CONSTANTS
  110.  
  111.     DPROT_NONE
  112.     DPROT_XMODEM
  113.     DPROT_TELINK
  114.     DPROT_XMODEM1K
  115.     DPROT_SEALINK
  116.     DPROT_ZMODEM
  117.  
  118.  
  119. ----------------------------------------------------------------------
  120.                           BASE SORT TYPE CONSTANTS
  121.  
  122.     IDX_DEFAULT         -   Sort by existing file order
  123.     IDX_FNAME           -   Sort by user's first name
  124.     IDX_LNAME           -   Sort by user's last name
  125.     IDX_CITY            -   Sort by city entry
  126.     IDX_PWD             -   Sort by user's password
  127.     IDX_DATE            -   Sort by user's last call date
  128.     IDX_PRIV            -   Sort by user's access level
  129.     IDX_CALLS           -   Sort by calls to the system
  130.     IDX_DNLD            -   Sort by user's total downloads
  131.     IDX_UPLD            -   Sort by user's total uploads
  132.     IDX_PHONE           -   Sort by user's telephone entry
  133.  
  134.  
  135. ----------------------------------------------------------------------
  136.                             COLOUR CODE CONSTANTS
  137.  
  138.     BLACK          BLUE           GREEN          CYAN          RED
  139.     MAGENTA        BROWN          LGREY          DGREY         LBLUE
  140.     LGREEN         LCYAN          LRED           LMAGENTA      YELLOW
  141.     WHITE
  142.  
  143.  
  144. ----------------------------------------------------------------------
  145.                           MISCELLANEOUS CONSTANTS
  146.  
  147.     NULL                -   A null pointer/string. Equates to (long)0
  148.     TRUE                -   Logical true, value (long)1
  149.     FALSE               -   Logical false, value (long)0
  150.     ON                  -   Logical true, value (long)1
  151.     OFF                 -   Logical false, value (long)0
  152.     IDENT               -   MUL executable identity string
  153.     VERSN               -   MUL executable version string
  154.     stdout              -   File I/O handle for standard output
  155.     stdin               -   File I/O handle for standard input
  156.     stderr              -   File I/O handle for standard error
  157.  
  158.  
  159. ----------------------------------------------------------------------
  160.  
  161.